package cn.wizzer.app.crown.modules.models.vo;

import lombok.Data;

import javax.xml.bind.annotation.*;
import java.io.Serializable;
import java.util.List;

@Data
@XmlRootElement(name = "serverresponse")
@XmlAccessorType(XmlAccessType.FIELD)
public class CrownXML implements Serializable {

    private static final long serialVersionUID = 1L;

    @XmlElement(name = "dataCount")
    private String dataCount;

    @XmlElement(name = "totalDataCount")
    private String totalDataCount;

    /**
     * 所有玩法集合（多种情况）
     */
    @XmlElementWrapper(name = "gameList")
    @XmlElement(name = "game")
    private List<Game> gameList;
}
